package com.cyy.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyy.common.pojo.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author 曹云友
 * @since 2024-03-29
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> getPermsByRoleIds(@Param("roleIds") List<Integer> roleIds);
}
